package com.bjfu.eduorder.client;

import com.bjfu.common_utils.vo.UcenterMemberVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(value = "service-ucenter")
public interface UcenterClient {
    // 根据用户id获取用户信息
    @GetMapping("/educenter/member/getMemberInfo/{id}")
    public UcenterMemberVo getMemberInfo(@PathVariable String id);
}
